<template>
	<view class="identify">
		<!-- <view class="close" @click="$emit('close')">
			<image :src="`${baseImageUrl}/common/close1.png`"></image>
		</view> -->
		<view class="title">
			<view>鉴定中</view>
		</view>
		<view class="cover">
			<image :src="img"></image>
		</view>
		<view class="progress_box">
			<text>鉴定中</text>
			<image :src="`${baseImageUrl}/apng/antique.png`"></image>
			<!-- <text>已鉴定 20%</text>
			<view>
				<u-line-progress :percentage="10" activeColor="#E68B30"
					inactiveColor="rgba(110,93,72,0.7)"></u-line-progress>
			</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			img: {
				type: String,
				default: ""
			}
		},
		created() {
			setTimeout(() => {
				this.$emit('success')
			}, 3 * 1000);
		}
	}
</script>

<style scoped lang="scss">
	.identify {
		width: 688rpx;
		height: 606rpx;
		padding: 55rpx 60rpx 70rpx;
		box-sizing: border-box;
		background: url(#{$baseImageUrl}/bg/688_606.png) no-repeat;
		background-size: 100% 100%;
		// display: flex;
		// flex-direction: column;
		// justify-content: space-between;
		// align-items: center;
		position: relative;

		.close {
			width: 122rpx;
			height: 122rpx;
			position: absolute;
			right: 0rpx;
			top: 0rpx;
			transform: translate(50rpx, -50rpx);
			z-index: 2;

			image {
				width: 100%;
				height: 100%;
			}
		}

		.title {
			display: flex;
			justify-content: center;
			align-items: center;

			view {
				width: 256rpx;
				height: 30rpx;
				line-height: 30rpx;
				text-align: center;
				color: #494338;
				font-size: 42rpx;
				font-weight: 400;
				font-family: LiSu;
				background: url(#{$baseImageUrl}/home/title.png) no-repeat;
				background-size: 100% 100%;
			}
		}

		.cover {
			margin-top: 50rpx;
			margin-bottom: 80rpx;
			display: flex;
			justify-content: center;

			image {
				width: 200rpx;
				height: 200rpx;
			}
		}

		.progress_box {
			display: flex;
			flex-direction: column;
			align-items: center;

			image {
				width: 100%;
				height: 80rpx;
			}

			text {
				color: #494338;
				font-size: 32rpx;
				font-weight: 400;
				font-family: SimSun;
				margin-bottom: 20rpx;
			}

			view {
				width: 100%;
			}
		}
	}
</style>